package com.googlecode.exocom;

import java.io.IOException;

import org.xmlpull.v1.XmlPullParserException;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;

import com.googlecode.exocom.data.APIConfiguration;
import com.googlecode.exocom.data.APIConfigurationFactory;

public class ExoCom extends Activity {
	public static final String TAG = "ExoCom";

	/** Called when the activity is first created. */
	@Override
	public void onCreate(final Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		Log.v(TAG, "starting app");
		try {
			final APIConfiguration config = APIConfigurationFactory
					.createConfiguration(getResources());
		} catch (final XmlPullParserException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (final IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		setContentView(R.layout.main);
	}
}